<script setup lang="ts">
  import Administor from './components/Administor.vue';
  import User from './components/User.vue';
  import { useLoginStore } from './store/login';
  const loginStore = useLoginStore();
  const { userLevel}= loginStore;
</script>

<template>
  <div v-if="userLevel==='1'">
    <Administor/>
  </div>
  <div v-else>
    <User/>
  </div>
</template>